package com.xin.di.uav.applet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xin.di.uav.applet.po.Pricing;
import com.xin.di.uav.applet.resp.SysPricingResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 计价表 Mapper 接口
 * </p>
 *
 * @author LTQ
 * @since 2023-05-19
 */
@Mapper
public interface PricingMapper extends BaseMapper<Pricing> {

    /**
     * 定价分页
     * @param pricingPage
     * @param productType
     * @return
     */
    IPage<SysPricingResponse> findPage(Page<Pricing> pricingPage, @Param("productType") Byte productType);
}
